package com.wwj.server.notify.msg;

import com.google.gson.annotations.SerializedName;
import com.wwj.server.model.NetBaseMsg;
import com.wwj.server.notify.common.MsgConstants;

public class NotifyMachineStatusMsg extends NetBaseMsg {

    private String type = MsgConstants.NOTIFY_MACHINE_STATUS;

    @SerializedName("device_id")
    private String deviceId;

    private String userId;

    private String nickname;

    @SerializedName("header_icon")
    private String headerIcon;

    private String status;

    public NotifyMachineStatusMsg(String deviceId, String nickname, String status) {
        this.deviceId = deviceId;
        this.status = status;
    }

    public NotifyMachineStatusMsg(String deviceId, String userId, String nickname, String headerIcon, String status) {
        this.deviceId = deviceId;
        this.userId = userId;
        this.nickname = nickname;
        this.headerIcon = headerIcon;
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getHeaderIcon() {
        return headerIcon;
    }

    public void setHeaderIcon(String headerIcon) {
        this.headerIcon = headerIcon;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
